/*
 * StoreProductBO.java
 *
 * Created on February 12, 2007, 9:10 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.group1E.data;

/**
 *
 * @author tkulbeth
 */
public class StoreProductBO {
    
    private String storeID;
    private String conceptualID;
    private String ShelfLocation;
    private int qtyOnHand;
    private int reorderPoint;
    private int qtyToOrder;
    private int qtyOnOrder;    
    
    private boolean alreadyInDB;
    private boolean dirty;
    
    /** Creates a new instance of StoreProductBO */
    StoreProductBO(String storeID, String conceptualID) {
        setStoreID(storeID);
        setConceptualID(conceptualID);
        setDirty(true);
    }
   
    /**
     * 
     * @return 
     */
    public String getShelfLocation() {
        return ShelfLocation;
    }

    /**
     * 
     * @param ShelfLocation 
     */
    public void setShelfLocation(String ShelfLocation) {
        this.ShelfLocation = ShelfLocation;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public int getQtyOnHand() {
        return qtyOnHand;
    }

    /**
     * 
     * @param qtyOnHand 
     */
    public void setQtyOnHand(int qtyOnHand) {
        this.qtyOnHand = qtyOnHand;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public int getReorderPoint() {
        return reorderPoint;
    }

    /**
     * 
     * @param reorderPoint 
     */
    public void setReorderPoint(int reorderPoint) {
        this.reorderPoint = reorderPoint;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public int getQtyToOrder() {
        return qtyToOrder;
    }

    /**
     * 
     * @param qtyToOrder 
     */
    public void setQtyToOrder(int qtyToOrder) {
        this.qtyToOrder = qtyToOrder;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public int getQtyOnOrder() {
        return qtyOnOrder;
    }

    /**
     * 
     * @param qtyOnOrder 
     */
    public void setQtyOnOrder(int qtyOnOrder) {
        this.qtyOnOrder = qtyOnOrder;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }

    /**
     * 
     * @param alreadyInDB 
     */
    public void setAlreadyInDB(boolean alreadyInDB) {
        this.alreadyInDB = alreadyInDB;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public boolean getDirty() {
        return dirty;
    }

    /**
     * 
     * @param dirty 
     */
    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }

    /**
     * 
     * @return 
     */
    public String getStoreID() {
        return storeID;
    }

    /**
     * 
     * @param storeID 
     */
    public void setStoreID(String storeID) {
        this.storeID = storeID;
        setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getConceptualID() {
        return conceptualID;
    }

    /**
     * 
     * @param conceptualID 
     */
    public void setConceptualID(String conceptualID) {
        this.conceptualID = conceptualID;
        setDirty(true);
    }
    
    
}// end StoreProductBO
